Skip to content

Conversation

@declark1
Copy link
Collaborator

@declark1 declark1 commented Oct 9, 2025

This PR resolves errors attempting to set parent span in a context where it is already set. Closes #506.

Changes:

  • Drops trace_context_from_http_response() and trace_context_from_grpc_response() as these functions attempt to set the span context and parent span in a context where they are already set

Validation

  • Validated trace parent is set correctly for all spans without calling these functions and errors are resolved
image

@declark1 declark1 marked this pull request as ready for review October 9, 2025 19:12
Copy link
Collaborator

@mdevino mdevino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing that!

@declark1 declark1 merged commit 4067ca3 into foundation-model-stack:main Oct 9, 2025
3 checks passed
@declark1 declark1 deleted the fix-tracing-errors branch October 9, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracing errors setting span parent for client calls

2 participants